package me.zhengjie.modules.partner.service.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @className PartnerVo
 * @description 商户保存接收页面参数
 * @author jianyongjie@126.com
 * @date 2021/8/5 4:19 下午
 * @version 1.0.0
 **/
@Getter
@Setter
@ApiModel("商户创建-修改请求参数")
public class PartnerVo {
    @ApiModelProperty(value = "商户ID", dataType = "Long")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "商户名称", dataType = "String")
    private String name;

    @ApiModelProperty(value = "联系方式", dataType = "String")
    private String phone;

    @ApiModelProperty(value = "管理员账号", dataType = "String")
    private String account;

    @ApiModelProperty(value = "公司名称", dataType = "String")
    private String companyName;

    @ApiModelProperty(value = "备注", dataType = "String")
    private String remark;
}
